<template>
    <div class="not-fount">
        <Result status="404" title="哦吼～网页飞哪儿去了？" btn-text="返回首页" @extra-click="handleRedirect" />
    </div>
</template>

<script setup lang="ts">
import { useRouter } from "vue-router";
import Result from "@/components/result/index.vue";

const router = useRouter();

const handleRedirect = () => router.replace("/");
</script>

<style lang="scss" scoped>
.not-fount{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
</style>
